Electronic device with an input device having a haptic engine

ABSTRACT

An electronic device is configured to provide haptic feedback to a user based on an input action associated with an input device. The electronic device includes a haptic engine operably connected to a processing device. The haptic engine includes an electromagnetic actuator that detects an input action associated with the input device. The electromagnetic actuator also produces a haptic output in response to the detection of the input action.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a nonprovisional patent application of and claims the benefit of U.S. Provisional Patent Application No. 62/334,036, filed on May 10, 2016 and titled “Electronic Device with an Input Device Having a Haptic Engine,” the disclosure of which is hereby incorporated by reference herein in its entirety.

FIELD

The described embodiments relate generally to electronic devices. More particularly, the present embodiments relate to an electronic device that includes a haptic engine used to detect an input action associated with an input device and provides haptic feedback based on the detected input action.

BACKGROUND

Portable electronic devices have become increasingly popular, and the features and functionality provided by portable electronic devices continue to expand to meet the needs and expectations of many consumers. For example, some portable electronic devices include features such as touch sensors, a display, various input devices, speakers, and microphones. In some cases, the electronic device may take on a small form factor. In such cases, it can be challenging to include all of the components in the electronic device that are needed to provide the various functionalities in the smallest space.

SUMMARY

Embodiments disclosed herein provide an electronic device that is configured to provide haptic feedback to a user based on an input action associated with an input device. A haptic engine is configured to detect an input action associated with the input device (e.g., a translational input) and produce a haptic output based on the detected input action. The haptic output may be perceived by a user as haptic feedback. The haptic feedback can indicate to the user that the user input has been received by the electronic device.

In some embodiments, an input device includes a haptic engine operably connected to or mechanically coupled to an input surface of the input device and to a processing device. The haptic engine may include an electromagnetic actuator, such as a linear actuator, that detects a user input or input action associated with the input surface and provides a haptic output based on the detected input action. The electromagnetic actuator includes a magnet assembly and a coil assembly adjacent to the magnet assembly. For example, the coil assembly can at least partially surround the magnet assembly. The haptic engine detects the input action based on a first movement between the magnet assembly and the coil assembly with respect to each other, the first movement inducing an input device signal in the coil assembly. The processing device is configured to receive or respond to the input device signal and to responsively cause a haptic output signal to be transmitted to the haptic engine. The haptic output signal produces a second movement between the magnet assembly and the coil assembly with respect to each other to produce a haptic output that is applied or transferred to the input surface.

In some embodiments, the input device is an input button in an electronic watch (e.g., a smart watch). The electronic watch also includes a display and a processing device operably connected to the display and to the electromagnetic actuator. An input action (e.g., a translational input action) received by the input button causes the processing device to receive or respond to an input device signal from the electromagnetic actuator and a haptic output signal to be transmitted to the electromagnetic actuator. The display is configured to display a user interface screen associated with an application program, and the input action also causes a change in the user interface screen displayed on the display. For example, an icon may be selected and a different user interface screen displayed based on the selected icon, or the digits in the time displayed on the display are changed based on the input action.

In some embodiments, an electronic device includes an input device configured to receive a user input, a haptic device operably connected to the input device, and a processing device operably connected to the haptic device. The processing device is configured to receive or respond to an input device signal from the haptic device based on the user input. In response to the input device signal, the processing device is configured to cause a haptic output signal to be transmitted to the haptic device. The haptic output signal causes the haptic device to produce a haptic output.

In some embodiments, an electronic device includes an input device configured to receive a user input and a haptic engine operably connected to the input device. The haptic engine is configured to detect the user input and produce a haptic output based on the detected user input. The haptic engine is further configured to operate in a first mode in which the haptic engine engages the input device, and in a second mode in which the haptic engine is not engaged with the input device.

In some embodiments, an electronic watch includes an electromagnetic actuator operably connected to an input button, and a processing device operably connected to the electromagnetic actuator. The electromagnetic actuator includes a magnet assembly and a coil assembly adjacent the magnet assembly. The electromagnetic actuator is configured to detect an input action (e.g., a translational input action) provided to the input button based on a first movement between the magnet assembly and the coil assembly. The first movement induces an input device signal in the coil assembly. The processing device is configured to receive or respond to the input device signal and to cause a haptic output signal to be transmitted to the electromagnetic actuator to cause a second movement between the magnet assembly and the coil assembly to produce a haptic output. The haptic output may be applied to the input button and/or to another region or surface of the electronic device.

In some embodiments, an electronic watch includes a linear actuator operably connected to a crown and a processing device operably connected to the linear actuator. The linear actuator includes a magnet assembly movably coupled to a shaft and a coil assembly adjacent the magnet assembly. The linear actuator is configured to detect an input action (e.g., a translational input action) provided to the crown based on a first movement between the magnet assembly and the coil assembly, the first movement inducing an input device signal. The processing device is configured to receive or respond to the input device signal and to cause a haptic output signal to be transmitted to the linear actuator. The haptic output signal causes a second movement between the magnet assembly and the coil assembly to produce a haptic output. The haptic output may be applied to the crown and/or to another region or surface of the electronic device.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which:

FIG. 1 shows one example of an electronic device that can include a haptic engine configured to provide haptic output based on an input action associated with an input device;

FIG. 2 depicts a simplified schematic of the electronic device taken along line A-A in FIG. 1;

FIG. 3 shows a schematic cross-sectional view of a first example of the electronic device taken along line A-A in FIG. 1;

FIG. 4 depicts a simplified cross-sectional view of a second example of the electronic device taken along line B-B in FIG. 1;

FIG. 5 shows show a simplified cross-sectional view of a third example of the electronic device taken along line A-A in FIG. 1;

FIGS. 6A-6B show a simplified cross-sectional view of a fourth example of the electronic device taken along line A-A in FIG. 1;

FIGS. 7A-7B depict a simplified cross-sectional view of a fifth example of the electronic device taken along line A-A in FIG. 1;

FIG. 8 depicts one example of the coil and magnet assemblies that are suitable for use in the haptic devices shown in FIGS. 2-7;

FIG. 9 shows a flowchart of a method of operating an electronic device; and

FIG. 10 is an illustrative block diagram of the electronic device shown in FIG. 1.

The cross-hatching in the figures is provided to distinguish the elements or components from one another. The cross-hatching is not intended to indicate a type of material or materials or the nature of the material(s).

DETAILED DESCRIPTION

Reference will now be made in detail to representative embodiments illustrated in the accompanying drawings. It should be understood that the following descriptions are not intended to limit the embodiments to one preferred embodiment. To the contrary, it is intended to cover alternatives, modifications, and equivalents as can be included within the spirit and scope of the described embodiments as defined by the appended claims.

The following disclosure relates to an electronic device that is configured to provide haptic feedback to a user. In general, a haptic device may be configured to produce a mechanical movement or vibration that may be transmitted through the enclosure and/or an input device of the electronic device. In some cases, the movement or vibration is transmitted to the skin of the user and perceived as a stimulus or haptic feedback by the user. In some embodiments, the haptic feedback may be coupled to an input action on an input device. One example of an input action is the pressing of an input button. The haptic feedback can indicate to a user that the input action has been received or registered by the input device and/or the electronic device.

In a particular embodiment, the electronic device includes an input device and a haptic engine operably connected to the input device. A haptic engine may include an electromechanical assembly that is capable of producing a change in momentum using a moving mass that results in a haptic output. In the embodiments described herein, the haptic engine is configured to function as both an input sensor and a haptic device. In particular, the input sensor may be integrated within the haptic device in that the electromechanical components that produce and receive signals from both the haptic device and the input sensor. For example, when the haptic device is an electromagnetic actuator, an input action (e.g., button press) can cause the magnet assembly and the coil assembly to move with respect to each other. This movement induces a current (or “input device signal”) in the coil assembly. The input device signal indicates an input action associated with the input device has occurred. A processing device may be responsive to the input device signal, and may cause a haptic output signal to be transmitted to the coil assembly. The haptic output signal may cause the haptic device to produce a haptic output.

As used herein, the term “input action” may be construed broadly to include any type of user input associated with an input device, or with one or more components in an input device. Example input actions include, but are not limited to, a translational input, touch input, force input, motion input, acceleration input, pressure input, velocity input, rotational input, and combinations thereof. In a non-limiting example, an input device can be an input button in an electronic device, and one input action associated with the input button is a button press or translational input. The button press may cause the input button, or components within the input button, to translate or move in the same direction as the direction of the button press (e.g., horizontal direction).

Additionally or alternatively, an input action can include a force input where an amount of force, or varying amounts of force, is applied to an input device. In such embodiments, a processing device operably connected to the haptic engine is configured to detect the applied force on the input device. Additionally or alternatively, the processing device can be configured to detect motion or a rotation of the input device (or of a component in the input device). In a non-limiting example, the input device may be a crown of an electronic watch (e.g., a smart watch) that a user can rotate to provide one or more inputs to the smart watch.

In general, a haptic engine may produce one or more types of haptic output, such as vibrations, an applied force, movement, and combinations thereof. The haptic output may be transmitted through the enclosure and/or an input device of the electronic device and detected by a user. In some cases, the movement, force, and/or vibration is transmitted to the skin of the user and perceived as a stimulus or haptic feedback by the user. In one non-limiting example, a user can press an input button and the haptic engine can apply a force to the input button in a direction opposite the direction of the button press. The applied force may be perceived by the user as a “tap” or “knock” that indicates the input device and/or the electronic device registered the button press. Alternatively, the haptic engine may move a mass in one direction or in opposing directions in response to the button press. The movement may be perceived by the user as a vibration that indicates the input device and/or the electronic device registered the button press.

In some embodiments, the position of the haptic engine can be adjusted so that a haptic output can be applied to different regions of an electronic device. For example, a haptic engine may be positioned at a first position to apply a haptic output directly to an input device (e.g., an exterior surface of an input button). The haptic engine may also be positioned at a second position to apply a haptic output to a different region of the electronic device (e.g., an exterior surface of an enclosure). The position of the haptic engine can be adjusted using any suitable method. For example, in one embodiment an electromagnet or switch may position the haptic device.

Directional terminology, such as “top”, “bottom”, “front”, “back”, “leading”, “trailing”, etc., is used with reference to the orientation of the Figure(s) being described. Because components of embodiments described herein can be positioned in a number of different orientations, the directional terminology is used for purposes of illustration only and is in no way limiting. When used in conjunction with the components of an input device and of an electronic device, the directional terminology is intended to be construed broadly, and therefore should not be interpreted to preclude the presence of one or more intervening components or other intervening features or elements.

These and other embodiments are discussed below with reference to FIGS. 1-10. However, those skilled in the art will readily appreciate that the detailed description given herein with respect to these Figures is for explanatory purposes only and should not be construed as limiting.

FIG. 1 shows one example of an electronic device that can include a haptic engine configured to produce haptic output based on an input action associated with an input device. In the illustrated embodiment, the electronic device 100 may be implemented as an electronic or smart watch that is adapted to be worn by a user. A different type of electronic device can be used in other embodiments. For example, the electronic device can be a gaming device, a digital music player, a sports accessory device, a medical device, a health assistant, a tablet computing device, a notebook computer, a smart phone, and other types of electronic devices that provide, or are suitable to provide, haptic feedback to a user.

The electronic device 100 includes input devices 106, 108. In some embodiments, one or both of the input devices 106, 108 may be configured as input/output devices. The term “input device” is intended to be construed broadly to include both input and input/output devices. An input device may include an input component, such as a button, knob, dial, crown, and the like. Although shown on a side of the electronic device 100, the input devices 106, 108 can be positioned substantially anywhere on the electronic device 100.

As will be described in more detail later, the electronic device 100 includes at least one haptic engine (see e.g., FIG. 2) operably connected to one or both input devices. The haptic engine is configured to detect an input action associated with one or both input devices 106, 108 and provide haptic feedback to a user when an input action is detected. The haptic engine functions as both an input sensor and a haptic device. In some embodiments, at least some of the components of the haptic engine can be used as the input sensor. For example, when the haptic engine is an electromagnetic actuator (e.g., a linear actuator), an input action (e.g., a translation of input device 108) can cause a magnet assembly and a coil assembly of the electromagnetic actuator to move with respect to each other. This movement induces a current (or “input device signal”) in the coil assembly. The input device signal may indicate that an input action associated with the input device has occurred. A processing device may be responsive to the input device signal and may, in turn, cause a haptic output signal to be transmitted to the coil assembly. The haptic output signal causes the electromagnetic actuator to produce a haptic output. The haptic output may be perceived by the user as haptic feedback that indicates the input action has been registered or entered by the electronic device 100 and/or the input device(s) 106, 108.

In the illustrated embodiment, the input device 106 is a crown and the input device 108 an input button. Input devices in other embodiments are not limited to these configurations. For example, an input device may be a rocker switch, a portion of the enclosure 102, one or more keys in a keyboard, a slide switch, a virtual icon or image on a display, or any other suitable input device.

The input device 106 (e.g., crown) is configured to receive translational and rotational input actions. For example, the input device 106 may include a shaft that extends into the electronic device 100. Pressing the input device 106 can cause the shaft, or components coupled to the shaft, to move or translate a given distance. Additionally or alternatively, the shaft may rotate when a user rotates the input device 106. The amount of shaft rotation can be detected and measured by an optical encoder positioned adjacent to the shaft. The amount of shaft rotation may be used as an input to the electronic device 100 and/or to an application program running on the electronic device 100.

One or more functions can be performed when the input device 106 is rotated and/or pressed. For example, if the display 104 of the electronic device 100 is displaying a time keeping application, the input device 106 may be rotated in either direction to change or adjust the position of the hands or the digits that are displayed for the time keeping application. Additionally or alternatively, the input device 106 may be rotated to move a cursor or other type of selection mechanism from a first displayed location to a second displayed location in order to select an icon or move the selection mechanism between various icons that are presented on the display 104. Additionally or alternatively, the input device 106 may be pressed to perform various functions, such as changing the image on a display, waking the electronic device 100 from a sleep state, and/or to select or activate an application. In some embodiments, the input device 106 can be rotated or pressed to disable an application or function. For example, the input device 106 may be pressed to disable an alert produced by an application on the electronic device 100 or received by the electronic device 100.

In some embodiments, the input device 108 (e.g., an input component or input button) can be configured to be pressed to cause various functions to be performed and/or disabled. The input device 108 may include a shaft that extends into the electronic device 100. Pressing the input device 108 can cause the shaft, or components coupled to the shaft, to move or translate a given distance. For example, a single press can activate an application and/or display a particular image or screen on the display. Additionally or alternatively, a single press may disable or delay an alert. A multiple press (e.g., a double press or double click) can activate an application and a component within the electronic device 100. For example, a double click may access an application that uses a wireless communication network to transmit data associated with the application (e.g., an electronic payment application). Additionally or alternatively, a press-hold may operate to turn on and turn off the electronic device 100 or to place the electronic device 100 in a power saving mode (e.g., a mode where minimal functions and applications operate and other applications and functions are disabled).

In some embodiments, pressing both of the input devices 106, 108 in various combinations can cause one or more functions to be performed. For example, pressing the input device 106 and then immediately pressing the input device 108 can cause an action to be performed on the electronic device 100. Additionally or alternatively, simultaneous press-holds on the input devices 106, 108 can cause another action to be performed on the electronic device 100.

The electronic device 100 further includes an enclosure 102 that forms an outer surface or partial outer surface for the internal components of the electronic device 100. The enclosure 102 defines openings and/or apertures that receive and/or support a display 104 and the input devices 106, 108. The enclosure 102 can be formed of one or more components operably connected together, such as a front piece and a back piece. Alternatively, the enclosure 102 can be formed of a single piece operably connected to the display 104. In the illustrated embodiment, the enclosure 102 is formed into a substantially rectangular shape, although this configuration is not required. For example, certain embodiments may include a substantially circular enclosure 102.

The display 104 can provide a visual output for the electronic device 100 and/or function to receive user inputs to the electronic device 100. For example, the display 104 may incorporate an input device configured to receive touch input, force input, temperature input, and the like. The display 104 may be substantially any size and may be positioned substantially anywhere on the electronic device 100. The display 104 can be implemented with any suitable display, including, but not limited to, a multi-touch sensing touchscreen device that uses liquid crystal display (LCD) element, a light emitting diode (LED) element, an organic light-emitting display (OLED) element, or an organic electro luminescence (OEL) element.

FIG. 2 shows a simplified schematic of the electronic device taken along line A-A in FIG. 1. The electronic device 100 can include a haptic engine 200 operably connected to a processing device 202. The haptic engine 200 is configured to detect an input action associated with the input device 108 and produce a haptic output based on a detected input action. As used herein, the input device 108 may also be referred to as an input component, which may include an input button, push button, or actuator. As described earlier, the haptic engine 200 may produce one or more types of haptic output, such as vibrations, an applied force, movement, and combinations thereof. The haptic output may be applied or transferred to at least one surface of the electronic device 100 and/or to the input device 108. For example, the haptic output can be transmitted through the input device and/or the enclosure and perceived as haptic feedback by a user.

For example, in one embodiment the haptic engine 200 is configured to apply a haptic output to a bottom surface of the enclosure 102 (e.g., the momentum of the haptic output can be transferred to the bottom surface). When a user is wearing the electronic device 100 on his or her wrist, the haptic output may be detected by the user as haptic feedback because the bottom surface of the electronic device 100 is in contact with the wrist. In other embodiments, the haptic output may be applied or transferred to a side of the electronic device 100, a top surface of the electronic device 100, multiple surfaces of the electronic device 100, and combinations thereof.

Additionally or alternatively, the haptic engine 200 may be configured to produce a haptic output that is applied or transferred to the input device 108. The haptic engine 200 may be mechanically or structurally coupled to the input surface 210 (of the input device 108) to receive movement from and/or transmit movement to the input surface 210. By mechanically coupling the haptic engine 200 to the input surface 210, movement of the input surface 210 results in movement of one or more components of the haptic engine 200. In one non-limiting example, when a user applies a force to the input surface 210 of the input device 108 (e.g., presses the input surface 210), the haptic engine 200 can detect such input action and produce a first signal (“input device signal”) that is received by the processing device 202. Based on the input device signal, the processing device 202 can cause a second signal (“haptic output signal”) to be transmitted to the haptic engine 200 that causes the haptic engine 200 to produce a haptic output (e.g., a vibration or an applied force). A user may then detect the haptic output as haptic feedback when the user's finger is in contact with the input surface 210.

In some embodiments, the haptic engine 200 can be configured to operate in two or more modes. For example, in a first mode, the haptic engine 200 may be positioned at a first position to apply a haptic output directly to the interior surface of an input device (e.g., input device 108). In a second mode, the haptic engine 200 can be positioned at a second position to produce a haptic output within the electronic device 100 and/or to apply to one or more non-input-device surfaces or regions of the electronic device 100.

Additionally or alternatively, a second haptic device 204 may be operably connected to the processing device 202. In such embodiments, the haptic engine 200 can produce a haptic output for the input device 108 while the second haptic device 204 may produce a haptic output for one or more different surfaces (non-input-device surfaces) or regions of the electronic device 100.

Any suitable type of haptic device can be used in the haptic engine 200 and/or the second haptic device 204. Example haptic devices include, but are not limited to, actuators, vibrator, and other type of motors. As described earlier, a haptic device and haptic engine may produce one or more types of haptic output, such as movement, vibrations, transfer of momentum, and other actions that may produce a perceptible or tactile output.

In some embodiments, an input sensor and a haptic device are separate components within the electronic device 100. In such embodiments, the input sensor can detect or sense an input action using any suitable sensing technology, such as capacitive, piezoelectric, piezoresistive, electromagnetic, ultrasonic, and magnetic sensing technologies. For example, in one embodiment a capacitive input sensor can be used to detect the presence of a user's finger on the input device. Additionally or alternatively, a capacitive sensor may be used to detect a user applying a force on the input device. For example, when the input device is an input button, the input sensor can detect the presence of a user's finger on the button and/or the user pressing the input button.

Example embodiments of a haptic engine will now be discussed. FIG. 3 shows a schematic cross-sectional view of a first example of the electronic device taken along line A-A in FIG. 1. In the illustrated embodiment, the haptic engine 200 is mechanically coupled to the input device 108. In some examples, a mechanical coupling between the haptic engine 200 and the input device 108 facilitates a transfer of motion between the two components. In particular, the haptic engine 200 may be mechanically coupled to the input device 108 such that a translational input to the input device 108 is transferred or structurally communicated to the haptic engine 200. Additionally, translational (e.g., vibrational) output from the haptic engine 200 may be transferred or mechanically communicated to the input device 108.

In the example of FIG. 3, the haptic engine 200 includes an electromagnetic actuator or linear actuator that uses a moving mass to create a haptic output (e.g., movement, applied force, and/or vibration). In one non-limiting example, the moving mass may be one or more magnets that move(s) in one direction or in an oscillating manner in response to a current passing through a coil that is adjacent to the magnet(s). The moving magnet(s) can produce a vibration or applied force that is perceived as haptic feedback by a user.

In the illustrated embodiment, the haptic engine 200 includes a magnet assembly 300 coupled to and/or movably positioned about a shaft 302. The magnet assembly 300 can include one or more magnets. In the illustrated embodiment, the magnet assembly 300 includes two magnets 300 a, 300 b of opposite polarities. The magnets 300 a, 300 b can be made of any suitable ferromagnetic material, such as neodymium. The shaft 302 may be formed form one or more components that are fixed with respect to each other or may be separated to allow for decoupling of the haptic engine 200 from other elements of the device. The shaft 302 can be made of a non-ferrous material such as tungsten, titanium, stainless steel, or the like.

A coil assembly 304 at least partially surrounds the magnet assembly 300 and/or the shaft 302. The coil assembly 304 includes one or more coils. Each coil can be formed with a winding of a conductive material, such as a metal. In one embodiment, the width of the coil assembly 304 can be less than or substantially equal to the width of the magnet assembly 300. In other embodiments, the width of the coil assembly 304 may be greater than the width of the magnet assembly 300.

In some embodiments, a frame 306 can be positioned at least partially around the coil assembly 304, the magnet assembly 300, and/or the shaft 302 to increase the momentum of the linear actuator. The frame 306 can be made of any suitable material. In one embodiment, the frame 306 is made of a metal, such as tungsten.

The coil assembly 304 and the magnet assembly 300 are positioned such that a first air gap separates the coil assembly 304 from the magnet assembly 300. Similarly, the coil assembly 304 and the frame 306 are positioned such that a second air gap separates the coil assembly 304 from the frame 306. In the illustrated embodiment, the first and second air gaps are located on opposing sides of the coil assembly 304.

In some embodiments, the frame 306 can be disengaged from the input device 108. The shaft 302 extends through a bearing 308 and a collar 310 which support the frame 306. The collar 310 allows the shaft 302 to pass one frame 306 in only one direction. For example, the collar 310 may permit the shaft 302 to only move in a direction away from the input device 108.

The coil assembly 304 may be energized by transmitting a current along a length of a wire that forms a coil in the coil assembly 304. A direction of the current along the wire of the coil determines a direction of a magnetic field that emanates from the coil assembly 304. The opposing polarities of the magnets 300 a, 300 b generate a radial magnetic field that interacts with the magnetic field of the coil assembly 304. The Lorentz force resulting from the interaction of the magnetic fields causes the frame 306 and the magnet assembly 300 to move in a first direction aligned with the axis of the shaft 302. Reversing the current flow through the coil assembly 304 reverses the Lorentz force. As a result, the magnetic field or force on the magnet assembly 300 is also reversed and the frame 306 and the magnet assembly 300 move in an opposing second direction. Thus, the frame 306 and the magnet assembly 300 can move in one direction or in an oscillating manner depending on the direction of the current flow through the coil assembly 304. In some embodiments, the frame 306 includes one or more magnets 312 that assist in moving the frame 306 and produce increased momentum when a current passes through the coil assembly 304.

When a user provides an input action to the input button 108 (e.g., a button press), the shaft 302, the magnet assembly 300, and the frame 306 can move a given distance into the electronic device 100. This movement induces a current (“input device signal”) in the coil assembly 304. A processing device (e.g., processing device 202 in FIG. 2) can receive or be responsive to the input device signal and cause a haptic output signal to be transmitted to the coil assembly 304. A haptic output is produced by the magnet assembly 300 and the frame 306 moving in one direction or in an oscillating manner based on the haptic output signal passing through the coil assembly 304.

A housing 314 may be attached to the enclosure 102 and positioned at least partially around the frame 306, the magnet assembly 300, the coil assembly 304, and the shaft 302. In the illustrated embodiment, the shaft 302 extends through the housing 314 with a contact area 316 attached to the interior surface of the input device 108. The momentum of a haptic output can be transferred to the input device 108 using the contact area 316.

A bracket 322 can at least partially surround the housing 314 and attach to an interior surface of the enclosure 102 using one or more fasteners 324. The bracket 322 fixes the housing 314 to the enclosure 102. Any suitable fastener may be used, such as screws, welding, and/or an adhesive. In some embodiments, the shaft 302 can extend into and/or pass through an opening in the bracket 322. This allows the shaft 302 to move in or through the opening when a force is applied to the input device 108.

In the example embodiment, the coil assembly 304 is fixed to the housing 314. The frame 306 and the magnet assembly 300 move with respect to the coil assembly 304. In such embodiments, the coil assembly 304 may not contact any portion of the frame 306 even when the frame 306 and the magnet assembly 300 are maximally displaced within the housing 314 (e.g., to one end of the shaft 302). It should be appreciated that in other embodiments the coil assembly 304 may move instead of, or in addition to, the frame 306 and the magnet assembly 300. However, it may be easier to provide the interconnections for the coil assembly 304 when the coil assembly 304 is fixed to the housing 314. For example, the coil assembly 304 can be electrically connected to a power source using a flexible circuit or other signal line.

A compliant element 318 can be positioned on each side of the frame 306 to bias the frame 306 towards the center region of the travel. The compliant elements 318 provide a return force or local biasing to the frame 306. The compliant elements 318 may be any suitable compliant element such as a leaf spring, beehive spring, and the like.

In some embodiments, the haptic engine 200 can function as a force sensor. Using the known characteristics of the input device signal and the linear actuator, such as the mass of the magnet assembly 300 and the spring coefficients of the compliant elements 318, the acceleration of the movement of the input device 108 can be correlated to an amount of force.

A compliant structure 320 can be positioned between the input device 108 and the enclosure 102 to allow travel between the input device 108 and the enclosure 102 and to return the input device 108 to a resting position. In one embodiment, the compliant structure 320 is positioned around an interior perimeter of the input device 108. In other embodiments, one or more discrete compliant structures 320 may be positioned around an interior perimeter of the input device 108.

As discussed earlier, in some embodiments at least some of the components of the haptic engine 200 are shared and form both an input sensor and a haptic device. In the illustrated embodiment, the magnet assembly 300 and the coil assembly 304 can be used as an input sensor. When a user performs an input action on the input device 108 (e.g., by pressing), the shaft 302, the magnet assembly 300, and the frame 306 can move inward, which in turn induces a current (“input device signal”) in the coil assembly 304. A processing device (not shown) operably connected to the coil assembly 304 may receive or be responsive to the input device signal and cause a haptic output signal to be transmitted to the coil assembly 304. The haptic output signal is transmitted along the length of a wire in a coil in the coil assembly 304, which in turn produces a magnetic field that causes the frame 306 and the magnets 300 a, 300 b to move and produce a haptic output (an applied force, movement, and/or vibration). The movement, vibration, and/or applied force may be perceived by a user as haptic feedback. Thus, the input action is sensed through the movement of the frame 306 and the magnets 300 a, 300 b with respect to the coil assembly 304, and a haptic output is produced by the movement of the frame 306 and the magnets 300 a, 300 b with respect to the coil assembly 304.

Additionally or alternatively, a discrete input sensor can be included in the electronic device. For example, in one embodiment, the compliant structure 320 can be formed as a force sensing layer configured to detect an amount of force applied to the input device 108. In one example, the force sensing layer can include two electrode layers separated by a dielectric or compliant material (e.g., air, foam, silicon, and the like). Each electrode layer can include one or more electrodes that are aligned in at least one direction to produce one or more capacitors. When a force is applied to the input device 108 (e.g., when a user presses the input device 108), the distance between the electrodes in at least one capacitor changes, which changes a capacitance of the capacitor. A processing device (not shown) can receive or be responsive to a signal from each capacitor representing the capacitance of that capacitor. The processing device may be configured to correlate the signal(s) to an amount of force that was applied to the input device 108.

The force sensing layer provides for a range of force input values that can be used to control a variety of functions. For example, a user can press the input device with a first force to perform a scrolling action at a first speed and press the input device with a second force to perform a scrolling action at a different second speed (e.g., a faster speed).

In some embodiments, a different type of input sensor can be used. The input sensor can be configured to detect any suitable characteristic or property. For example, the input sensor may be an image sensor, a light or optical sensor, a proximity sensor, a magnet, a biometric sensor, a touch sensor, an accelerometer, and so on. In an example embodiment, the input sensor can include one or more strain gauges, a tactile or reed switch, or a capacitive touch sensor. For example, the capacitive touch sensor may include a first electrode disposed within the enclosure 102 adjacent the input device 108 and a second electrode attached to or embedded in the input device 108.

FIG. 4 depicts a simplified cross-sectional view of a second example of the electronic device taken along line B-B in FIG. 1. Similar to the previous examples, the electronic device includes a haptic engine 200, the description of which is provided above with respect to FIG. 3.

With respect to the example of FIG. 4, the input device 106, in this case a crown, is configured to receive both translational and rotational input actions from a user. An optical encoder 402 can be used to determine an amount of rotation for a rotational input. The optical encoder 402 can convert the angular motion of the shaft 400 to an analog or digital code. Typically, the shaft 400 includes a pattern (not shown) formed in or on the shaft 400 that selectively reflects light toward an optical sensor (not shown). The reflected light is used to determine the amount of rotation.

As shown in FIG. 4, the input device 106 is operably coupled to the haptic engine 200. As describe above with respect to FIG. 3, the haptic engine includes a magnet assembly 300 coupled to a frame 306, which is coupled to a shaft 400. The shaft 400 may be formed form one or more components that are fixed with respect to each other or may be separated to allow for decoupling of the haptic engine 200 from other elements of the device. A coil 304 is positioned adjacent to the magnet assembly 300 and is configured to produce a current in response to a movement of the magnet assembly 300. The coil 304 may also induce movement of the magnet assembly 300 when driven by a current or electrical signal.

In the example of FIG. 4, the haptic engine 200 is mechanically or structurally coupled to the input device 106 such that motion of the input device 106 may be mechanically transferred to the haptic engine 200 and, similarly, motion produced by the haptic engine 200 may be mechanically transferred to the input device 106. In this example, the haptic engine 200 is configured to detect a translational input action (e.g., a press) associated with the input device 106 and produce a haptic output based on a detected input action. The haptic output may be applied to an exterior surface of the input device 106 (e.g., crown) and/or to another region or exterior surface of the electronic device.

Additionally, in some embodiments the haptic engine 200 provides a haptic output based on a rotational input action. The optical encoder 402 may produce an input device signal when the input device 106 is rotated. The processing unit may receive or be responsive to the input device signal and, in turn, cause a haptic output signal to be transmitted to the haptic engine 200. The haptic output signal may cause the haptic engine 200 to produce a haptic output that can be perceived by a user as haptic feedback indicating the rotational input action has been received by the electronic device.

It should be noted that the positions of the haptic engine 200 and the optical encoder 402 shown in FIG. 4 are for illustration purposes only. For example, the optical encoder 402 may be situated at any location adjacent the shaft 400 to allow the optical encoder 402 to emit light toward the shaft 400 and receive the light reflected by the shaft 400.

FIG. 5 shows a simplified cross-sectional view of a third example of the electronic device taken along line A-A in FIG. 1. Similar to the previous examples, the haptic engine 200 is mechanically or structurally coupled to the input device 108. In the illustrated embodiment, the coil assembly 304 is movably coupled or positioned about the shaft 302 and the magnet assembly 300 is attached to the housing 314. A current can be applied to the coil assembly 304 to move the frame 306 and the coil assembly 304 in one direction or in an oscillating manner (as represented by arrow 500) to produce a haptic output within the enclosure 102. The haptic output may be applied directly to the input device 108 through the contact area 316 of the shaft 302. For example, a vibrational haptic output produced by the moving magnet assembly 300 and the frame 306 can be transferred through the contact area 316 to the input device 108.

As discussed earlier, a haptic engine can be configured to operate in two or more modes. For example, in a first mode, the haptic engine may be positioned at a first position to apply a haptic output directly to the interior surface of an input device (e.g., input device 108). In a second mode, the haptic engine can be positioned at a second position to produce a haptic output within the electronic device and/or to apply a haptic output to one or more non-input-device surfaces or regions of the electronic device. FIGS. 6A-7B illustrate two embodiments where the haptic engine operates in two modes.

FIGS. 6A-6B depict a simplified cross-sectional view of a fourth example of the electronic device taken along line A-A in FIG. 1. In the illustrated embodiment, the haptic engine can be positioned in two different positions. In this example, the shaft 600 includes a body 601 and a contact area 602. The body 601 and the contact area 602 may be fixed to each other or may be configured to separate to decouple the haptic engine from the input device 108. The position of the body 601 and the contact area 602 are adjustable via a biasing mechanism. Any suitable biasing mechanism can be used. For example, in one embodiment the biasing mechanism includes a magnet 604 attached to, or embedded in, the end of the shaft 600 that is opposite the contact area 602. An electromagnet 606 can be positioned within the enclosure 102 a given distance from the magnet 604. A current can be received by the electromagnet 606 that produces an attracting or repelling magnetic field with respect to the magnet 604, depending on whether the contact area 602 is to be moved away from or toward the interior surface of the input device 108. In some embodiments, the shaft 600 can be situated in one of three or more positions using the electromagnet 606 and the magnet 604.

Other embodiments can use different types of biasing mechanisms. For example, one or more magnets and electromagnets can be included in, or attached to, the contact area 602 and the input device 108, respectively. Alternatively, one or more electromagnets may be included in, or attached to, the input device 108. The electromagnet(s) are used to produce a magnetic field that attracts or repels the magnet assembly 300. The electromagnet(s) can be activated to move the magnet assembly 300 to a given position. The one or more electromagnets are deactivated when the magnet assembly 300 is at the given position. A current applied to the coil assembly 304 can then be used to move the magnet assembly 300 and produce a haptic output. In some embodiments, the attachment mechanism may be a mechanical switch that is configured to position the shaft 600 in at least two different positions. For example, the switch may adjust the position of a movable arm that is attached to the shaft 600.

When the shaft 600 is positioned a given distance from the interior surface of the input device 108 (FIG. 6A), a current can be applied to the coil assembly 304 to move the frame 306 and the magnet assembly 300 in one direction or in an oscillating manner (as represented by arrow 608) along the body 601 to produce haptic output within the enclosure 102. The haptic output is not applied or transferred directly to the input device 108 because the contact area 602 is not in contact with the input device 108.

When a haptic output is to be applied directly to the input device 108, the biasing mechanism adjusts the position of the shaft 600 so that the contact area 602 contacts the interior surface of the input device 108 (see FIG. 6B). A current is applied to the coil assembly 304 to move the magnet assembly 300 and the frame 306 in one direction or in an oscillating manner (in two opposing directions) along the body 601. The haptic output is applied (or the momentum of the haptic output is transferred) directly to the input device 108 through the contact area 602. The haptic output created by the moving mass of the frame 306 and the magnet assembly 300 may be perceived by a user as haptic feedback on the input device 108.

FIGS. 7A-7B show an alternate haptic engine that can be situated in multiple positions. In this embodiment, the width (W) of the coil assembly 700 is greater than the width of the magnet assembly 300. The coil assembly 700 can include one or more coils. For example, a single coil having a width (W) can be used in some embodiments. Alternatively, two coils having a combined width (W) can be positioned side-by-side about the shaft 302 and magnet assembly 300. Each coil can be energized independently to move the frame 306 and the magnet assembly 300 to a given position along the shaft 302 and to produce a haptic output once the magnet assembly 300 and the frame 306 are situated at the given location. Alternatively, in some embodiments both coils may be energized to move the magnet assembly 300 and the frame 306 to produce the haptic output.

In this example, the shaft 302 includes a contact area 316 that is attached to the input device 108 and a collar 310 that is disengagably coupled to the frame 306. When a haptic output is to be produced within the electronic device, but not applied or transferred directly to the input device 108, a current is passed through the coil assembly 700 to produce a magnetic field that causes the magnet assembly 300 to move in a direction away from the input device 108. The magnet assembly 300 can be positioned at a first location within the housing 314 (FIG. 7A). In this position, the collar 310 of the shaft 302 is disengaged with respect to the frame 306.

After the magnet assembly 300 is situated at the first position, another current is passed through the coil assembly 700 to produce a magnetic field that causes the magnet assembly 300 and the frame 306 to move in one direction or in an oscillating manner (in two opposing directions) to produce the haptic output. For example, the magnet assembly 300 can move a length L1 along the shaft 302 when moving in an oscillating manner to produce the haptic output within the enclosure 102.

When a haptic output is to be applied directly to the input device 108, a current is passed through the coil assembly 700 to produce a magnetic field that causes the magnet assembly 300 to move in a direction toward the input device 108. The magnet assembly may be positioned at a second location within the housing 314 (FIG. 7B). In this position, the collar 310 of the shaft 302 is engaged with the frame 306. After the magnet assembly 300 is situated at the second position, another current is passed through the coil assembly 700 to produce a magnetic field that causes the magnet assembly 300 and the frame 306 to move in one direction or in an oscillating manner (in two opposing directions) to produce the haptic output. For example, as shown in FIG. 7B, the magnet assembly 300 can move a length L1 when moving in an oscillating manner to produce the haptic output.

FIG. 8 depicts one example of the coil and magnet assemblies that are suitable for use in the haptic engines shown in FIGS. 2-7. The first and second magnets 300 a, 300 b of the magnet assembly 300 are positioned about the shaft 302. As described earlier, the magnets 300 a, 300 b have opposite polarities. For example, the north pole of magnet 300 a can be adjacent to the south pole of magnet 300 b.

A coil assembly 304 is formed with a coil 800 that encircles the magnets 300 a, 300 b. As described earlier, in one embodiment the magnets 300 a, 300 b move in a direction aligned with the shaft 302 when a haptic output signal is transmitted through the coil 800. The coil 800 can be stationary or move with respect to the magnets 300 a, 300 b. Additionally, a width of the coil 800 can be greater than, less than, or substantially the same as the width of the magnet assembly 300.

FIG. 9 shows a flowchart of a method of operating an electronic device. The method of FIG. 9 may be applied using, for example, haptic engines described above with respect to FIGS. 2-8. In particular, the method of FIG. 9 may be used to operate a haptic engine in two (or more) modes. A first mode may allow the haptic output to be applied directly to an exterior surface of the input device. A second mode may allow the haptic output to be delivered via another exterior surface of the device. In general, the operations of the method of FIG. 9 may be performed by a processing unit or other logical element of the electronic device.

At block 900, a determination is made as to whether a haptic output is to be produced. In particular, the device may determine whether a haptic output is to be produced in response to a user input (received at an input device) or in response to another event. Other events include, for example, notifications, alerts, alarms, and other events that may be signaled to a user. If the determination is negative, the method returns to block 900.

In response to a positive determination at block 900, the process continues at block 902. At block 902, a determination is made as to whether the haptic output is to be applied directly to an input device. If the haptic output will not be applied directly to the input device, the method passes to block 904 where the device produces the haptic output. The device may determine that the haptic output is not to be applied directly to the input device because the haptic output is associated with one or more non-user input events including, for example, a notification, alert, or alarm. In some cases, the haptic output of block 904 corresponds to a second mode in which a general haptic output that is delivered to an exterior surface of the electronic device. The exterior surface may include, but is not limited to, an exterior surface of the input device.

If the haptic output will be applied directly to the input device (and/or the momentum of the haptic output transferred directly to the input device), the process continues at block 906. At block 906, the device makes a determination as to whether a haptic engine or haptic device should be adjusted. For example, the mode of the haptic engine or the haptic device may be changed so that a shaft or other element of the haptic engine engages the input device. Additionally or alternatively, one or more characteristics of a haptic output signal that is received by the haptic engine or the haptic device can be adjusted. For example, a frequency, amplitude, and/or a phase of the haptic output signal may be changed. Adjusting one or more of the characteristics of the haptic output signal can adjust the magnitude and/or the type of haptic output. If the haptic engine or haptic device will not be adjusted, the method passes to block 904 where the haptic output is produced.

If the haptic engine or haptic device will be adjusted, the process continues at block 908 where the haptic engine is adjusted and the haptic output is produced. The haptic output of block 908 may correspond to a first mode in which a localized haptic output that is delivered to the input device. For example, the localized haptic output may be concentrated or focused on an exterior surface of the input device and used to provide haptic feedback or acknowledgement of a user action received using the input device.

FIG. 10 is an illustrative block diagram of the electronic device shown in FIG. 1. The electronic device 100 can include the display 104, one or more processing units 1000, memory 1002, one or more I/O devices 1004, one or more sensors 1006, a power source 1008, a network communications interface 1010, and an input device 1012 that includes a haptic engine 1014. The processing unit(s) 1000 can control or coordinate some or all of the operations of the electronic device 100. The processing unit(s) 1000 can communicate, either directly or indirectly, with substantially all of the components of the electronic device 100. For example, a system bus or signal line 1016 or other communication mechanism can provide communication between the processing unit(s) 1000, the memory 1002, the I/O device(s) 1004, the sensor(s) 1006, the power source 1008, the network communications interface 1010, and/or the input device 1012 and haptic engine 1014. The one or more processing units 1000 can be implemented as any electronic device capable of processing, receiving, or transmitting data, instructions, and/or program code. For example, the processing unit(s) 1000 can each be a microprocessor, a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), or combinations of such devices. As described herein, the term “processing unit” is meant to encompass a single processor or processing unit, multiple processors, multiple processing units, or other suitably configured computing element or elements.

In some embodiments, the processing unit(s) 1000 and the processing device 202 (FIG. 2) are the same processing unit. Alternatively, data processing, inputs, and outputs can be distributed between the processing unit(s) 1000 and the processing device 202. In embodiments where the one or more processing units 1000 and the processing device 202 are the same processing unit(s), the processing unit(s) 1000 is configured to receive or be responsive to an input device signal from the input device 1012. The input device signal indicates an input action that is associated with an input device 1012 has occurred. Additionally, in response to the receipt of the input device signal, the processing device(s) 1000 is configured to cause a haptic output signal to be transmitted to a coil assembly in the haptic engine 1014. The haptic engine 1014 produces a haptic output based on the haptic output signal.

The memory 1002 can store electronic data that can be used by the electronic device 100 and instructions and/or program code that is executed by the processing unit(s) 1000. For example, a memory can store electrical data or content such as, for example, audio and video files, documents and applications, device settings and user preferences, timing and control signals or data for the haptic device 1012 (or one or more components included therein), data structures or databases, and so on. The memory 1002 can be configured as any type of memory. By way of example only, the memory can be implemented as random access memory, read-only memory, Flash memory, removable memory, or other types of storage elements, or combinations of such devices. The one or more I/O devices 1004 can transmit and/or receive data to and from a user or another electronic device. The I/O device(s) 1004 can include a touch sensing input surface such as a track pad, one or more buttons, one or more microphones or speakers, one or more ports such as a microphone port, and/or a keyboard.

The electronic device 100 may also include one or more sensors 1006 positioned substantially anywhere on the electronic device 100. The sensor(s) 1006 may be configured to sense substantially any type of characteristic, such as, but not limited to, images, pressure, light, touch, force, biometric data, temperature, position, motion, and so on. For example, the sensor(s) 1006 may be an image sensor, a temperature sensor, a light or optical sensor, an atmospheric pressure sensor, a proximity sensor, a humidity sensor, a magnet, a gyroscope, a biometric sensor, an accelerometer, and so on.

The power source 1008 can be implemented with one or more devices capable of providing energy to the electronic device 100. For example, the power source 1008 can be one or more batteries or rechargeable batteries. Additionally or alternatively, the power source 1008 may be a connection cable that connects the electronic device to another power source, such as a wall outlet or another electronic device.

The network communication interface 1010 can facilitate transmission of data to or from other electronic devices. For example, a network communication interface 1010 can transmit electronic signals via a wireless and/or wired network connection. Examples of wireless and wired network connections include, but are not limited to, cellular, Wi-Fi, Bluetooth, infrared, and Ethernet.

The input device 1012 can be any suitable input device that is configured to provide a haptic feedback to a user in response to an input action. For example, the input device 1012 can be an input button, a crown, a section of the enclosure, and/or a display.

The haptic engine 1014 can be implemented as any suitable device configured to provide force feedback, vibratory feedback, tactile sensations, and the like. For example, in one embodiment, the haptic engine 1014 can be implemented as an electromagnetic actuator (e.g., linear actuator) configured to provide a punctuated haptic feedback, such as a tap or a knock. Additionally or alternatively, the electromagnetic actuator may be configured to translate in two directions to provide a vibratory haptic feedback.

It should be noted that FIG. 10 is exemplary only. In other examples, an electronic device may include fewer or more components than those shown in FIG. 10. Additionally or alternatively, an electronic device can be included in a system and one or more components shown in FIG. 10 is separate from the electronic device but in communication with the electronic device. For example, an electronic device may be operatively connected to, or in communication with a separate display. As another example, one or more applications or data can be stored in a memory separate from an electronic device. In some embodiments, the separate memory can be in a cloud-based system or in an associated electronic device.

The foregoing description, for purposes of explanation, used specific nomenclature to provide a thorough understanding of the described embodiments. However, it will be apparent to one skilled in the art that the specific details are not required in order to practice the described embodiments. Thus, the foregoing descriptions of the specific embodiments described herein are presented for purposes of illustration and description. They are not targeted to be exhaustive or to limit the embodiments to the precise forms disclosed. It will be apparent to one of ordinary skill in the art that many modifications and variations are possible in view of the above teachings. 

What is claimed is:
 1. An electronic device comprising: an input device having an input surface and configured to receive a translational input; and a haptic engine mechanically coupled to the input device, the haptic engine comprising: a magnet assembly configured to move in response to the translational input; and a coil assembly configured to: generate an input device signal in response to movement of the magnet assembly caused by the translational input; and receive a haptic output signal to generate a haptic output along the input surface.
 2. The electronic device of claim 1, wherein: the haptic engine further comprises: a shaft coupled to the input device; and a frame coupled to the shaft and configured to move in response to the translational input; the magnet assembly is coupled to the frame; and the coil assembly at least partially surrounds the magnet assembly.
 3. The electronic device of claim 2, further comprising a housing at least partially surrounding the frame, wherein the coil assembly is attached to the housing.
 4. The electronic device of claim 3, wherein the haptic engine further comprises a compliant element positioned between the frame and the housing and configured to compress in response to the translational input.
 5. The electronic device of claim 2, wherein the haptic engine is configured to operate in at least two modes, the at least two modes comprising: a first mode in which the shaft engages the input device, wherein the haptic output is provided to the input surface when the haptic engine is operating in the first mode; and a second mode in which the shaft is not engaged with the input device.
 6. The electronic device of claim 5, wherein: the electronic device further comprises a housing forming at least a portion of an exterior surface of the electronic device; and the haptic output is provided to the exterior surface when the haptic engine is operating in the second mode.
 7. The electronic device of claim 1, wherein the input device comprises an input button in an electronic watch and the translational input comprises a translational movement of the input button.
 8. The electronic device of claim 7, wherein: the electronic watch further comprises: a display configured to display a user interface screen associated with an application program; and a processing device operably connected to the haptic engine and to the display; in response to the input device signal, the processing device causes the haptic output signal to be transmitted to the haptic engine causing the haptic engine to produce the haptic output; and in response to the input device signal, the display displays a change in the user interface screen.
 9. The electronic device of claim 1, wherein: the input device comprises a crown in an electronic watch; the translational input comprises a translational movement of the crown; and the crown is further configured to receive a rotational input.
 10. An electronic device, comprising: an input device having an input surface and configured to receive a translational input; an enclosure defining an opening; a shaft coupled to the input device and extending through the opening; a haptic engine positioned within the enclosure and mechanically coupled to the input device via the shaft and configured to: generate an input device signal in response to the translational input; and produce a haptic output along the input surface; a display configured to display a change in a user interface screen associated with an application program of the electronic device in response to the input device signal; and a processing device operably connected to the haptic engine and the display, the processing device configured to cause a haptic output signal to be transmitted to the haptic engine in response to the input device signal to cause the haptic engine linear actuator to produce the haptic output.
 11. The electronic device of claim 10, further comprising a force sensor disposed at least partially around an interior perimeter of the input device and positioned between the input device and the enclosure of the electronic device.
 12. The electronic device of claim 10, wherein the electronic device comprises an electronic watch and the input device includes a crown.
 13. The electronic device of claim 10, wherein the electronic device comprises an electronic watch and the input device includes an input button.
 14. An electronic watch, comprising: an input button; an electromagnetic actuator mechanically coupled to the input button, the electromagnetic actuator comprising: a magnet assembly; and a coil assembly adjacent the magnet assembly; and a processing device operably coupled to the electromagnetic actuator, wherein the electromagnetic actuator is configured to detect an input action provided to the input button based on a first movement between the magnet assembly and the coil assembly, the first movement inducing an input device signal; and the processing device is configured to cause a haptic output signal to be transmitted to the electromagnetic actuator, in response to the input device signal, the haptic output signal causing a second movement between the magnet assembly and the coil assembly to produce a haptic output.
 15. The electronic watch of claim 14, wherein the coil assembly is fixed and the magnet assembly moves in response to the input action.
 16. The electronic watch of claim 14, wherein the magnet assembly is fixed and the coil assembly moves in response to the input action.
 17. The electronic watch of claim 14, wherein: the electronic watch further comprises: a frame at least partially surrounding the magnet and coil assemblies; and a shaft configured to mechanically couple the frame to the input button; and the magnet assembly is attached to the frame.
 18. The electronic watch of claim 17, further comprising a biasing mechanism configured to select an operating mode of the electromagnetic actuator by moving the frame.
 19. The electronic watch of claim 18, wherein the operating mode comprises: a first mode in which the shaft engages the input button; and a second mode in which the shaft is not engaged with the input button.
 20. The electronic watch of claim 19, wherein the biasing mechanism comprises: a magnet attached to the shaft; and an electromagnet included in an enclosure of the electronic watch and configured to produce an attracting or repelling force with respect to the magnet.
 21. An electronic device comprising: an input device having an input surface and configured to receive a translational input; and a haptic engine mechanically coupled to the input device, the haptic engine comprising: a magnet assembly; and a coil assembly configured to: move relative to the magnet assembly in response to the translational input; generate an input device signal in response to movement of the coil assembly caused by the translational input; and receive a haptic output signal to generate a haptic output along the input surface. 